/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmDaftarPasienLama.java
 *
 * Created on Jan 24, 2012, 4:40:57 PM
 */
package SIMRS.RawatInap.view;

import usu.widget.Form;

/**
 *
 * @author asus A42J-i3
 */
public class frmDaftarPasienLama extends Form {

    /** Creates new form frmDaftarPasienLama */
    public frmDaftarPasienLama() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlForm1 = new SIMRS.RawatInap.widget.PnlForm();
        scrollPane1 = new SIMRS.RawatInap.widget.ScrollPane();
        jScrollPane2 = new javax.swing.JScrollPane();
        tblDaftarPasienLama = new SIMRS.RawatInap.widget.Table();
        label4 = new SIMRS.RawatInap.widget.Label();
        label5 = new SIMRS.RawatInap.widget.Label();
        btnCetak = new SIMRS.RawatInap.widget.button2();
        btnKeluar = new SIMRS.RawatInap.widget.button2();
        label1 = new SIMRS.RawatInap.widget.Label();
        btnCari = new SIMRS.RawatInap.widget.button2();
        txtTanggalAwal = new com.toedter.calendar.JDateChooser();
        txtTanggalAkhir = new com.toedter.calendar.JDateChooser();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("[ :: Daftar Pasien Lama  :: ]");
        setAnimationHide(usu.widget.constan.Animation.HIDE_TO_LEFT);
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_BOTTOM);
        setResizable(false);
        setUndecorated(true);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });

        pnlForm1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(112, 138, 31), 3, true));
        pnlForm1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        tblDaftarPasienLama.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane2.setViewportView(tblDaftarPasienLama);

        scrollPane1.setViewportView(jScrollPane2);

        pnlForm1.add(scrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 180, 532, 100));

        label4.setText("S/d");
        pnlForm1.add(label4, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 130, -1, -1));

        label5.setText("Periode");
        pnlForm1.add(label5, new org.netbeans.lib.awtextra.AbsoluteConstraints(210, 94, 50, 20));

        btnCetak.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_cetak.png"))); // NOI18N
        btnCetak.setText("Cetak");
        pnlForm1.add(btnCetak, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 310, -1, -1));

        btnKeluar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_close.png"))); // NOI18N
        btnKeluar.setText("Keluar");
        btnKeluar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluarActionPerformed(evt);
            }
        });
        pnlForm1.add(btnKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(450, 310, -1, -1));

        label1.setForeground(new java.awt.Color(255, 255, 255));
        label1.setText("Form Daftar Pasien Lama");
        label1.setFont(new java.awt.Font("Tahoma", 1, 24));
        pnlForm1.add(label1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 20, -1, 37));

        btnCari.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_search.png"))); // NOI18N
        btnCari.setText("Cari");
        pnlForm1.add(btnCari, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 120, 90, 30));
        pnlForm1.add(txtTanggalAwal, new org.netbeans.lib.awtextra.AbsoluteConstraints(210, 130, 140, -1));
        pnlForm1.add(txtTanggalAkhir, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 130, 120, -1));

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pnlForm1, javax.swing.GroupLayout.DEFAULT_SIZE, 570, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pnlForm1, javax.swing.GroupLayout.DEFAULT_SIZE, 394, Short.MAX_VALUE)
        );

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-570)/2, (screenSize.height-394)/2, 570, 394);
    }// </editor-fold>//GEN-END:initComponents

    private void btnKeluarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluarActionPerformed
        dispose();
    }//GEN-LAST:event_btnKeluarActionPerformed

    private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
        this.dispose();
    }//GEN-LAST:event_formWindowClosing

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.RawatInap.widget.button2 btnCari;
    private SIMRS.RawatInap.widget.button2 btnCetak;
    private SIMRS.RawatInap.widget.button2 btnKeluar;
    private javax.swing.JScrollPane jScrollPane2;
    private SIMRS.RawatInap.widget.Label label1;
    private SIMRS.RawatInap.widget.Label label4;
    private SIMRS.RawatInap.widget.Label label5;
    private SIMRS.RawatInap.widget.PnlForm pnlForm1;
    private SIMRS.RawatInap.widget.ScrollPane scrollPane1;
    private SIMRS.RawatInap.widget.Table tblDaftarPasienLama;
    private com.toedter.calendar.JDateChooser txtTanggalAkhir;
    private com.toedter.calendar.JDateChooser txtTanggalAwal;
    // End of variables declaration//GEN-END:variables
}
